package Mapper;

import Entity.Person;
import java.util.List;

public interface PersonMapper {
    int insert(Person person);
    int deleteById(Integer id);
    int update(Person person);
    Person selectById(Integer id);
    List<Person> selectAll();
    List<Person> selectByName(String name);
    List<Person> selectByPosition(String position);
    List<Person> selectByStatus(String status);
    List<Person> selectByPhone(String phone);
    List<Person> selectByEmail(String email);
}